package com.kgc.community.service.impl;

import com.kgc.community.mapper.CostTypeMapper;
import com.kgc.community.pojo.CostType;
import com.kgc.community.service.CostTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author Mr.Man
 * @Date 2020-11-29 15:06
 **/
@Service
public class CostTypeServiceImpl implements CostTypeService {
    @Resource
    CostTypeMapper costTypeMapper;
    @Override
    public List<CostType> selectAll() {
        List<CostType> costTypes = costTypeMapper.selectByExample(null);
        return costTypes;
    }
}
